﻿using System.ComponentModel;

namespace DataModels.Enums
{
    public class GeneralEnum
    {
        public enum Status
        {
            [Description("禁用/未使用")]
            Disable = 0,
            [Description("启用/已使用")]
            Enable = 1
        }

        public enum PayWay
        {
            [Description("支付宝")]
            ZFB = 1,
            [Description("微信")]
            VX = 2
        }

        /// <summary>
        /// 审批状态
        /// </summary>
        public enum ApprovalStatus
        {
            /// <summary>
            /// 待提交
            /// </summary>
            [Description("待提交")]
            PendingSubmit = 0,

            /// <summary>
            /// 待审批
            /// </summary>
            [Description("待审批")]
            PendingApproval = 1,

            /// <summary>
            /// 已通过
            /// </summary>
            [Description("已通过")]
            Approved = 2,

            /// <summary>
            /// 已拒绝
            /// </summary>
            [Description("已拒绝")]
            Rejected = 3,

            /// <summary>
            /// 已撤回
            /// </summary>
            [Description("已撤回")]
            Withdrawn = 4
        }

        /// <summary>
        /// 评论的状态码
        /// </summary>
        public enum CommentStatus
        {
            [Description("草稿 仅自己可见")]
            Draft = 0,
            [Description("审核通过 所有人可见")]
            Approved = 1,
            [Description("审核不通过 所有人不可见")]
            Reject = 2
        }


    }
}
